package com.ihr360.commons.exception;

import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

/**
 * 消息或数据返回类
 * notes: 该类是通过异常的方式返回数据，所以异常类结果状态为200
 *
 * @author tom
 * @date 17-12-19
 */
@Getter
@Setter
@Builder
public class Ihr360SimpleResultException extends RuntimeException {
    private static final long serialVersionUID = 2120604859793103648L;

    private String message;

    private String data;

    private String code;

    private String messageKey;

    private Object[] args;
}
